import userTpl from '../views/user.html'
import handlerbar from 'handlebars';


class UserController {

    render() {
        let template = handlerbar.compile(userTpl);
        let rs = template({ "username": "admin" })
        $("#user").html(rs);
        console.log(rs);
    }
}

const userController = new UserController()

export default userController;